{extend name='main'}

{block name='content'}

<style>

    .store-total-container {
        font-size: 14px;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .store-total-container .store-total-icon {
        top: 45%;
        right: 8%;
        font-size: 65px;
        position: absolute;
        color: rgba(255, 255, 255, 0.4);
    }

    .store-total-container .store-total-item {
        color: #fff;
        line-height: 4em;
        padding: 15px 25px;
        position: relative;
    }

    .store-total-container .store-total-item > div:nth-child(2) {
        font-size: 46px;
        line-height: 46px;
    }

</style>

<div class="think-box-shadow store-total-container notselect">
    <div class="margin-bottom-15">快捷操作</div>
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm6 layui-col-md3">
            <div class="store-total-item nowrap" style="background:linear-gradient(-125deg,#57bdbf,#2f9de2)">
                <div>日常收文</div>
                <div><a data-target-tips="收文列表" data-open="/document/doc/index.html" data-menu-node="m-62-63-64">收文</a></div>
                <div>从外部收文后转发</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-form"></i>
        </div>

        <div class="layui-col-sm6 layui-col-md3">
            <div class="store-total-item nowrap" style="background:linear-gradient(-125deg,#ff7d7d,#fb2c95)">
                <div>发文</div>
                <div><a data-target-tips="发文列表" data-open="/document/docout/index.html" data-menu-node="m-66-67-68">发文</a></div>
                <div>对外发文</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-note"></i>
        </div>
        <div class="layui-col-sm6 layui-col-md3">
            <div class="store-total-item nowrap" style="background:linear-gradient(-113deg,#c543d8,#925cc3)">
                <div>网站新闻</div>
                <div><a data-target-tips="网站新闻" data-open="/document/news/index.html" data-menu-node="m-73-74-75">新闻</a></div>
                <div>单位网站发文审批</div>
            </div>
            <i class="store-total-icon layui-icon layui-icon-read"></i>
        </div>
        <div class="layui-col-sm6 layui-col-md3">
            <div class="store-total-item nowrap" style="background:linear-gradient(-141deg,#ecca1b,#f39526)">
                <div>内部件</div>
                <div><a href="/admin.html#/document/docin/index.html">请示</a></div>
                <div>请示文件内部流转</div>
            </div>
            <i class="store-total-icon  fa fa-retweet "></i>
        </div>
    </div>
</div>

<!--
<div class="think-box-shadow store-total-container">
    <div class="margin-bottom-15">数据统计</div>
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6 margin-bottom-15">
            <div class="layui-row">
                <div class="layui-col-xs3 text-center">
                    <i class="layui-icon color-blue" style="font-size:60px;line-height:72px">&#xe65e;</i>
                </div>
                <div class="layui-col-xs4">
                    <div class="font-s14">收文数量</div>
                    <div class="font-s16">1351</div>
                    <div class="font-s12 color-desc"></div>
                </div>
				
				
				
                <div class="layui-col-xs5">
                    <div class="font-s14">发文数量</div>
                    <div class="font-s16">106</div>
                    <div class="font-s12 color-desc"></div>
                </div>
            </div>
        </div>
		
        <div class="layui-col-md6 margin-bottom-15">
            <div class="layui-row">
                <div class="layui-col-xs3 text-center">
                    <i class="layui-icon color-blue" style="font-size:60px;line-height:72px">&#xe663;</i>
                </div>
                <div class="layui-col-xs4">
                    <div class="font-s14">新增用户数</div>
                    <div class="font-s16">327</div>
                    <div class="font-s12 color-desc">昨日：238</div>
                </div>
                <div class="layui-col-xs5">
                    <div class="font-s14">下单用户数</div>
                    <div class="font-s16">69</div>
                    <div class="font-s12 color-desc">昨日：34</div>
                </div>
            </div>
        </div>
		
    </div>
</div>

-->

<div class="layui-row layui-col-space15">


    <div class="layui-col-md6">
        <div class="think-box-shadow">
            <table class="layui-table" lay-skin="line" lay-even>
                <caption class="text-left margin-bottom-15 font-s14">我未审批的文件</caption>

                <tbody>
                <tr>
					<td width="8%">序号</td>
					<td width="20%">类型</td>
                    <td>文件标题</td>
                    <td width="15%">文件日期</td>
                </tr>
				
				
				{foreach $doc2 as $key=>$vo}
                <tr>
					<td>{$vo.id}</td>
					<td>收文</td>
                    <td><a data-dbclick data-open="/document/doc/edit.html?id={$vo.id}&spm=m-62-63-64">{$vo.title|default=''}</a></td>
                    <td>{$vo.docdate|format_datetime='Y-m-d'}</td>
                </tr>
				{/foreach}
				
				
				{foreach $doc1 as $key=>$vo}
                <tr>
					<td>{$vo.id}</td>
					<td width="10%">
					{eq name='vo.doctypes' value='docout'}<span class="color-red">对外发文(有文号)</span>{/eq}
					{eq name='vo.doctypes' value='docnone'}<span class="color-blue">对外发文(无文号)</span>{/eq}
					{eq name='vo.doctypes' value='stamp'}<span class="color-green">印章使用</span>{/eq}
					{eq name='vo.doctypes' value='news'}<span class="color-orange">网站新闻</span>{/eq}
                    {eq name='vo.doctypes' value='docin'}<span class="color-orange">内部请示件</span>{/eq}
					</td>
                    <td><a data-dbclick data-open="/document/{$vo.doctypes}/edit.html?id={$vo.id}&spm={$vo.spm}">{$vo.title|default=''}</a></td>
                    <td>{$vo.docdate|format_datetime='Y-m-d'}</td>
                </tr>
				{/foreach}

                </tbody>
            </table>
        </div>
    </div>

    <div class="layui-col-md6">
        <div class="think-box-shadow">
            <table class="layui-table" lay-skin="line" lay-even>
                <caption class="text-left margin-bottom-15 font-s14">系统信息</caption>
                <colgroup>
                    <col width="30%">
                </colgroup>
                <tbody>
                <tr>
                    <td>当前程序版本</td>
                    <td>{:sysconf('app_version')}</td>
                </tr>
                <tr>
                    <td>运行PHP版本</td>
                    <td>{$Think.PHP_VERSION}</td>
                </tr>
                <tr>
                    <td>ThinkPHP版本</td>
                    <td>{$think_ver}</td>
                </tr>
                <tr>
                    <td>MySQL数据库版本</td>
                    <td>{$mysql_ver}</td>
                </tr>
                <tr>
                    <td>服务器操作系统</td>
                    <td>{:php_uname('s')}</td>
                </tr>
                <tr>
                    <td>WEB运行环境</td>
                    <td>{:php_sapi_name()}</td>
                </tr>
                <tr>
                    <td>上传大小限制</td>
                    <td>{:ini_get('upload_max_filesize')}</td>
                </tr>
                <tr>
                    <td>POST大小限制</td>
                    <td>{:ini_get('post_max_size')}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
	
	

	
	
	
</div>
{/block}
